
package com.probiz.estore.core.event;
/**
 *清除前台缓存事件 商品专用
 *
 */
public class StoreFrontCache4ProductClearEvent extends ApplicationEvent {
	private Integer				productId;   //配置productId
	
	public StoreFrontCache4ProductClearEvent(Object source,Integer productId) {
		super(source);
		this.productId = productId;
	}

	@Override
	public boolean is4Admin() {
		return false;
	}

	@Override
	public boolean is4Front() {
		return true;
	}
	

	@Override
	public boolean is4Self() {
		return true;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public Integer getProductId() {
		return productId;
	}
	
	
}
